package com.xiyoufang.club.pojo;

import com.xiyoufang.club.bean.PlayerInfo;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Timer;

@Table(name = "user_profile")
@Entity
public class UserInfo {

    @Id
    private Integer id;
    private String userId;

    private String user_name;
    private String nick_name;
    private String gender;
    private String email;
    private String email_status;
    private String mobile;
    private String mobile_status;
    private String avatar;
    private String cert_name;
    private String cert_card;
    private String cert_type;
    private String cert_status;
    private String android;
    private String geo_hash;
    private String longitude;
    private String latitude;
    private String address;
    private String ip;
    private String referrer_id;
    private String device_id;
    private String status;
    private String introduction;
    private String remark;
    private String created_source;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date created_time;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date
            modified_time;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date
            login_time;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date
            activated_time;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getNick_name() {
        return nick_name;
    }

    public void setNick_name(String nick_name) {
        this.nick_name = nick_name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEmail_status() {
        return email_status;
    }

    public void setEmail_status(String email_status) {
        this.email_status = email_status;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getMobile_status() {
        return mobile_status;
    }

    public void setMobile_status(String mobile_status) {
        this.mobile_status = mobile_status;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getCert_name() {
        return cert_name;
    }

    public void setCert_name(String cert_name) {
        this.cert_name = cert_name;
    }

    public String getCert_card() {
        return cert_card;
    }

    public void setCert_card(String cert_card) {
        this.cert_card = cert_card;
    }

    public String getCert_type() {
        return cert_type;
    }

    public void setCert_type(String cert_type) {
        this.cert_type = cert_type;
    }

    public String getCert_status() {
        return cert_status;
    }

    public void setCert_status(String cert_status) {
        this.cert_status = cert_status;
    }

    public String getAndroid() {
        return android;
    }

    public void setAndroid(String android) {
        this.android = android;
    }

    public String getGeo_hash() {
        return geo_hash;
    }

    public void setGeo_hash(String geo_hash) {
        this.geo_hash = geo_hash;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getReferrer_id() {
        return referrer_id;
    }

    public void setReferrer_id(String referrer_id) {
        this.referrer_id = referrer_id;
    }

    public String getDevice_id() {
        return device_id;
    }

    public void setDevice_id(String device_id) {
        this.device_id = device_id;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreated_source() {
        return created_source;
    }

    public void setCreated_source(String created_source) {
        this.created_source = created_source;
    }

    public Date getCreated_time() {
        return created_time;
    }

    public void setCreated_time(Date created_time) {
        this.created_time = created_time;
    }

    public Date getModified_time() {
        return modified_time;
    }

    public void setModified_time(Date modified_time) {
        this.modified_time = modified_time;
    }

    public Date getLogin_time() {
        return login_time;
    }

    public void setLogin_time(Date login_time) {
        this.login_time = login_time;
    }

    public Date getActivated_time() {
        return activated_time;
    }

    public void setActivated_time(Date activated_time) {
        this.activated_time = activated_time;
    }
}
